/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Id;
import com.google.code.morphia.annotations.Indexed;

import org.bson.types.ObjectId;

/**
 *
 * @author xuanhung2401
 */

@Entity
public class Tag {
    @Id ObjectId id;
    private String title;
    @Indexed
    private String alias;
    private int count;
    private String type;        

    public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public ObjectId getId() {
        return id;
    }

    public void setId(ObjectId id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    
}
